package org.generic.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.generic.interfaces.entity.Role;

/**
 * 系统角色相关实体类
 *
 * @author LiKun
 * @date 2021/11/8 18:55
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("system_role")
@ApiModel("系统角色实体类")
public class SystemRole implements Role {
    @TableId
    @ApiModelProperty(value = "id", notes = "角色ID")
    private String id;

    @ApiModelProperty(value = "name", notes = "角色名称")
    private String name;

    @ApiModelProperty(value = "enabled", notes = "角色是否可用")
    private boolean enabled;
}
